package com.springboot.chatroom.model;


import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-04-16
 * Time: 17:09
 */
@Data
// 用于存储一条消息
public class Message {
    private Integer messageId;
    private Integer fromId; // 表示发送用户的Id
    private String fromName; // 表示发送用户的name
    private Integer sessionId;
    private String content;
}
